package org.apache.dubbo.demo.consumer.example.eg3;

import org.apache.dubbo.config.annotation.Reference;
import org.apache.dubbo.demo.example.eg3.AnnotationService;
import org.springframework.stereotype.Component;

@Component
public class AnnotationController {

  @Reference
  private AnnotationService annotationService;

  public void doSayHello() {
    String result = annotationService.sayHello("xufeng");
    System.out.println("****************************** result: " + result + "******************************");
  }

}
